package cn.tedu.shoot;

import java.awt.image.BufferedImage;

/**
 * 英雄机:是飞行物
 */
public class Hero extends FlyingObject {
    private int life;  //命
    private int fire;  //火力值
    public Hero(){
        super(97,139,140,400);
        life = 3;
        fire = 0;

    }

    private int index = 0;
    public BufferedImage getImage(){
        return Images.heros[index++%Images.heros.length];
    }

}
